package com.pig4cloud.pig.village.api.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 学校
 * @author Will Hu
 * @date 2022.3.26
 */
@Getter
public enum School {
	KINDERGARTEN_CHONGMING(0, "崇明区幼儿园"),
	ELEMENTARY_CHONGMING(1, "崇明区小学"),
	JUNIOR_HIGH_SCHOOL_CHONGMING(3, "崇明区初中"),
	SENIOR_HIGH_SCHOOL_CHONGMING(4, "崇明区高中"),
	KEY_SENIOR_HIGH_SCHOOL_WITHIN_CITY(5, "市重点高中"),
	KEY_SENIOR_HIGH_SCHOOL_WITHIN_DISTRICT(6, "区重点高中"),
	ORDINARY_HIGH_SCHOOL(7, "普通高中"),
	UNIVERSITY_985(8, "985高校"),
	UNIVERSITY_211(9, "211高校"),
	UNIVERSITY_ORDINARY(10, "普通高校"),
	COLLEGE(11, "专科"),
	UPGRADE_FROM_COLLEGE(12, "专升本");

	School(int code, String description) {
		this.code = code;
		this.description = description;
	}

	@EnumValue
	@JsonValue
	private final int code;
	private final String description;
}